<div id="preject">
    <div id="btn"><a href="{:url('excelclass')}">导出</a><a href="{:url('add')}?d=3">添加</a></div>

    <form style="margin-top: 10px" action="{:url('putclass')}" method="post" enctype="multipart/form-data">
        <input type="file" name="file"/>
        <input  class="btn"  type="submit">
    </form>


    <div style="margin-top: 20px" id="table">
    <table>
        <tr><th>序号</th> <th>班级编号</th> <th>班级名称</th> <th>年级</th> <th>所属专业</th> <th>所属部门</th>  <th></th>

        </tr>
        {foreach $classi as $k=>$v}
        <tr><td>{$classi->currentPage()*30-30+$k+1}</td> <td>{$v.cid}</td> <td>{$v.classname}</td> <td>{$v.grade}</td> <td>{$v.mid}</td> <td>{$v.uid}</td> <td><a href="{:url('editor')}?id={$v.id}&d=3">编辑</a></td>
            <td><a href="{:url('deleteclassi')}?id={$v.id}" onclick="javascript:if(confirm('确定删除吗？')){return true;}return false;">删除</a></td></tr>
        {/foreach}
    </table>
    </div>
    <div id="page">{$classi}</div>
</div>
